import React, { useState, useEffect } from 'react';
import { NavBar, Button, Toast, TextArea } from 'antd-mobile';
import { history } from 'umi';
export default function index() {
  const back = () => {
    history.go(-1);
  };
  return (
    <>
      <NavBar onBack={back}>客服</NavBar>

      <Button
        type="primary"
        onClick={() => {
          history.push('/fankui');
        }}
      >
        反馈
      </Button>
      <Button
        type="primary"
        onClick={() => {
          history.push('/zixun');
        }}
      >
        咨询
      </Button>
    </>
  );
}
